package cn.edu.zzuli.web.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 后台系统页面框架控制类
 * @author caohua
 */
@Controller
public class RestController {

	public RestController() {}

	/**
	 * 系统欢迎页面
	 */
	@RequestMapping(value = "/welcome", method = RequestMethod.GET)
	public String registPost() {
		return "/welcome";
	}
	
	/**
	 * 公用头页面
	 */
	@RequestMapping(value = "/header", method = RequestMethod.GET)
	public String header() {
		return "/include/header";
	}
	
	/**
	 * 公用左侧菜单
	 */
	@RequestMapping(value = "/left", method = RequestMethod.GET)
	public String left() {
		return "/include/left";
	}
	
	/**
	 * 公用页低
	 */
	@RequestMapping(value = "/footer", method = RequestMethod.GET)
	public String footer() {
		return "/include/footer";
	}
	
}